export default {
  showDataInfoBar: true,
  loadDefault: true,
  deviewCodeName: 'quickSearchSeparatorTreeExpView',
  deviewId: '269bcb4b72a8f37c04a655753a9eac56',
  appWFId: 'workflow',
  accUserMode: 2,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '树导航栏_快速搜索提示分割符',
  codeName: 'master_quick_search_separator_tree_exp_view',
  appDataEntityId: 'web.master',
  appViewMsgGroupId: 'treeexp_quicksearch',
  viewLayoutPanel: {
    layoutBodyOnly: true,
    viewProxyMode: true,
    layoutMode: 'FLEX',
    layout: {
      layout: 'FLEX',
    },
    rootPanelItems: [
      {
        rawItem: {
          predefinedType: 'VIEWMSG_POS',
          id: 'viewmsg_pos',
        },
        caption: '视图消息占位',
        itemStyle: 'DEFAULT',
        itemType: 'RAWITEM',
        layoutPos: {
          shrink: 1,
          layout: 'FLEX',
        },
        showCaption: true,
        id: 'viewmsg_pos',
      },
      {
        actionGroupExtractMode: 'ITEM',
        panelItems: [
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                caption: '树导航栏',
                itemStyle: 'DEFAULT',
                itemType: 'CTRLPOS',
                layoutPos: {
                  grow: 1,
                  shrink: 1,
                  layout: 'FLEX',
                },
                showCaption: true,
                id: 'treeexpbar',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            contentWidth: 300,
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
              width: 300,
              widthMode: 'PX',
            },
            width: 300,
            id: 'view_content_left',
          },
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                rawItem: {
                  predefinedType: 'NAV_POS',
                  id: 'nav_pos',
                },
                caption: '导航区占位',
                itemStyle: 'DEFAULT',
                itemType: 'RAWITEM',
                layoutPos: {
                  grow: 1,
                  shrink: 1,
                  layout: 'FLEX',
                },
                showCaption: true,
                id: 'nav_pos',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            id: 'view_content_right',
          },
        ],
        predefinedType: 'CONTAINER_H_SPLIT',
        layout: {
          layout: 'FLEX',
        },
        dataRegionType: 'INHERIT',
        caption: '容器',
        itemStyle: 'DEFAULT',
        itemType: 'CONTAINER',
        layoutPos: {
          grow: 1,
          shrink: 1,
          layout: 'FLEX',
        },
        id: 'view_exp_split',
      },
    ],
    layoutPanel: true,
    appViewEngines: [
      {
        engineCat: 'VIEW',
        engineType: 'TreeExpView',
        id: 'engine',
      },
    ],
    appViewLogics: [
      {
        logicTrigger: 'CUSTOM',
        logicType: 'APPUILOGIC',
        builtinAppUILogic: {
          actionAfterWizard: 'DEFAULT',
          builtinLogic: true,
          logicType: 'PREDEFINED',
          viewLogicType: 'APP_NEWDATA',
          id: '新建数据',
        },
        builtinLogic: true,
        id: 'newdata',
      },
      {
        logicTrigger: 'CUSTOM',
        logicType: 'APPUILOGIC',
        builtinAppUILogic: {
          editMode: true,
          builtinLogic: true,
          logicType: 'PREDEFINED',
          viewLogicType: 'APP_OPENDATA',
          id: '打开数据',
        },
        builtinLogic: true,
        id: 'opendata',
      },
    ],
    controls: [
      {
        xdataControlName: 'treeexpbar_tree',
        enableCounter: true,
        showTitleBar: true,
        autoLoad: true,
        showBusyIndicator: true,
        appViewRefs: [
          {
            realOpenMode: 'POPUPMODAL',
            realTitle: '区划信息',
            refAppViewId: 'web.region_info_view',
            name: 'EXPITEM:node',
            id: 'expitem:node',
          },
        ],
        controls: [
          {
            detreeNodeRSs: [
              {
                childDETreeNodeId: 'node',
                parentAppDEFieldId: 'parent_id',
                parentDER1N: {
                  pickupDEFName: 'PARENT_ID',
                  codeName: 'parent',
                  dertype: 'DER1N',
                  logicName: '上级区划',
                  orderValue: 100,
                  serviceCodeName: 'parent',
                  name: 'DER1N_REGION_REGION_PARENT_ID',
                  id: 'mock.region.der1n_region_region_parent_id',
                },
                parentDETreeNodeId: 'node',
                parentValueLevel: 1,
                searchMode: 3,
                id: '区划（node）-区划（node）',
              },
              {
                childDETreeNodeId: 'node',
                parentAppDEFieldId: 'parent_id',
                parentDER1N: {
                  pickupDEFName: 'PARENT_ID',
                  codeName: 'parent',
                  dertype: 'DER1N',
                  logicName: '上级区划',
                  orderValue: 100,
                  serviceCodeName: 'parent',
                  name: 'DER1N_REGION_REGION_PARENT_ID',
                  id: 'mock.region.der1n_region_region_parent_id',
                },
                parentDETreeNodeId: 'root',
                parentValueLevel: 1,
                searchMode: 3,
                name: '默认根节点（ROOT）-区划（node）',
                id: '默认根节点（root）-区划（node）',
              },
            ],
            detreeNodes: [
              {
                nodeValue: '86',
                text: '默认根节点',
                nodeType: 'ROOT',
                treeNodeType: 'STATIC',
                hasDETreeNodeRSs: true,
                enableQuickSearch: true,
                expanded: true,
                rootNode: true,
                name: '默认根节点',
                id: 'root',
              },
              {
                dataSourceType: 'DEDATASET',
                idAppDEFieldId: 'id',
                leafFlagAppDEFieldId: 'leaf',
                appDEDataSetId: 'fetch_default',
                sortDir: 'ASC',
                sortAppDEFieldId: 'sort',
                textAppDEFieldId: 'name',
                navAppViewId: 'web.region_info_view',
                nodeType: 'node',
                appDataEntityId: 'web.region',
                treeNodeType: 'DE',
                hasDETreeNodeRSs: true,
                enableQuickSearch: true,
                expanded: true,
                name: '区划',
                id: 'node',
              },
            ],
            outputIconDefault: true,
            navViewPos: 'NONE',
            createControlAction: {
              appDEMethodId: 'create',
              appDataEntityId: 'web.master',
              id: 'create',
            },
            fetchControlAction: {
              appDataEntityId: 'web.master',
              id: 'fetch',
            },
            getControlAction: {
              appDEMethodId: 'get',
              appDataEntityId: 'web.master',
              id: 'load',
            },
            removeControlAction: {
              appDEMethodId: 'remove',
              appDataEntityId: 'web.master',
              id: 'remove',
            },
            updateControlAction: {
              appDEMethodId: 'update',
              appDataEntityId: 'web.master',
              id: 'update',
            },
            autoLoad: true,
            showBusyIndicator: true,
            codeName: 'quick_search_separator_tree_exp_view_tree_view',
            controlType: 'TREEVIEW',
            logicName: '树导航栏_快速搜索提示分割符_树视图',
            appDataEntityId: 'web.master',
            controlLogics: [
              {
                eventNames: 'SELECTIONCHANGE',
                logicTag: 'treeexpbar_tree',
                logicType: 'CUSTOM',
                triggerType: 'CTRLEVENT',
                id: 'treeexpbar_selectionchange',
              },
              {
                eventNames: 'LOAD',
                logicTag: 'treeexpbar_tree',
                logicType: 'CUSTOM',
                triggerType: 'CTRLEVENT',
                id: 'treeexpbar_load',
              },
            ],
            controlParam: {
              ctrlParams: {
                SEARCHPHSEPARATOR: '，',
              },
              id: 'treeexpbar_tree',
            },
            modelId: 'e5e5c9f5f3f4b0a05284a9003805915c',
            modelType: 'PSDETREEVIEW',
            name: 'treeexpbar_tree',
            id: 'web.master.quick_search_separator_tree_exp_view_tree_view',
          },
        ],
        codeName: 'quick_search_separator_tree_exp_view_treeexpbar',
        controlType: 'TREEEXPBAR',
        appDataEntityId: 'web.master',
        controlParam: {
          ctrlParams: {
            SEARCHPHSEPARATOR: '，',
          },
          id: 'treeexpbar',
        },
        width: 500,
        modelId: '9740854aab48fbf7e82547e91391a463_treeexpbar',
        modelType: 'PSEXPBAR',
        name: 'treeexpbar',
        id: 'quick_search_separator_tree_exp_view_treeexpbar',
      },
      {
        groupMode: 'SINGLE',
        quickSearchMode: 1,
        enableQuickSearch: true,
        controlType: 'SEARCHBAR',
        appDataEntityId: 'web.master',
        controlParam: {
          id: 'searchbar',
        },
        id: 'searchbar',
      },
      {
        capLanguageRes: {
          lanResTag: 'DE.LNAME.MASTER',
        },
        caption: '树导航栏_快速搜索提示分割符',
        codeName: 'quick_search_separator_tree_exp_view_captionbar',
        controlType: 'CAPTIONBAR',
        appDataEntityId: 'web.master',
        controlParam: {},
        name: 'captionbar',
        id: 'quick_search_separator_tree_exp_view_captionbar',
      },
    ],
    codeName: 'a9fc7120b4827824af7',
    controlType: 'VIEWLAYOUTPANEL',
    logicName: 'quickSearchSeparatorTreeExpView实体树导航视图布局面板',
    appDataEntityId: 'web.master',
    controlParam: {},
    modelId: '94314fdbf824f274983b623a3e33bab7',
    modelType: 'PSSYSVIEWLAYOUTPANEL',
    name: 'layoutpanel',
    id: 'a9fc7120b4827824af7',
  },
  title: '树导航栏_快速搜索提示分割符',
  viewStyle: 'DEFAULT',
  viewType: 'DETREEEXPVIEW',
  enableDP: true,
  showCaptionBar: false,
  modelId: '9740854aab48fbf7e82547e91391a463',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERquickSearchSeparatorTreeExpView',
  id: 'web.master_quick_search_separator_tree_exp_view',
};
